SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 56925: The SAS® Deployment Manager reports a failure for the Run Post-Update Tasks stage of configuration

DetailsAboutRate It

Problem

When you use the SAS Deployment Manager to update the configuration, a failure might be reported during the Run Post-Update Tasks stage.

When the problem occurs, the SAS Deployment Manager displays the following error:

image label

When you examine the cfgwizard_postapplyUpdate_yyyy-mm-dd-hh-mm-ss.log, you might find the error shown here:

BUILD FAILED
/sas/sas94/software/SASDeploymentManager/9.4/products/cfgwizard__94360__prt__xx__sp0__1/Config/cfgwizard_config.xml:2783: The following error occurred while executing this line:
/sas/sas94/software/SASDeploymentManager/9.4/products/cfgwizard__94360__prt__xx__sp0__1/Config/cfgwizard_config.xml:5233: java.lang.OutOfMemoryError: Java heap space
	at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:541)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:418)
	at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:357)
	at org.apache.tools.ant.Target.performTasks(Target.java:385)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
	at org.apache.tools.ant.Main.runBuild(Main.java:698)
	at org.apache.tools.ant.Main.startAnt(Main.java:199)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: /sas/sas94/software/SASDeploymentManager/9.4/products/cfgwizard__94360__prt__xx__sp0__1/Config/cfgwizard_config.xml:5233: java.lang.OutOfMemoryError: Java heap space

Cause

This problem occurs when the Java heap size is not large enough for the SAS Deployment Manager to complete processing the UpdateInstructions.html after the software configuration update has been completed.

Workaround

When the problem described here occurs, the configuration update of your SAS software has already been completed and is not impacted. However, the UpdateInstructions.html file contains incomplete information because it was still being processed by the SAS Deployment Manager when the failure happened.

To work around the Java heap OutOfMemoryError, do the following:

  1. Start the SAS Deployment Manager from the command line and specify a larger Xmx value for the heap size, as shown in this example.
  2. For UNIX operating environments: ./sasdm.sh -javaoptions "-Xmx2048M" &

    For Windows operating environments: "C:\Program Files\SASHome\SASDeploymentManager\9.4\sasdm.exe" -javaoptions "-Xmx2048M"


  3. Next, select the task Update Existing Configuration and follow the remaining prompts.

  4. Verify that the SAS Deployment Manager completes the configuration update and no longer reports the error described in this SAS Note.

This problem is resolved in the SAS 9.4 TS1M3, Rev. 940_15w47 software.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemN/ALinux for x649.4 TS1M39.4 TS1M3
Linux9.4 TS1M39.4 TS1M3
HP-UX IPF9.4 TS1M39.4 TS1M3
HP-UX9.4 TS1M39.4 TS1M3
64-bit Enabled Solaris9.4 TS1M39.4 TS1M3
64-bit Enabled HP-UX9.4 TS1M39.4 TS1M3
64-bit Enabled AIX9.4 TS1M39.4 TS1M3
Windows 7 Ultimate x649.4 TS1M39.4 TS1M3
Windows 7 Ultimate 32 bit9.4 TS1M39.4 TS1M3
Windows 7 Professional x649.4 TS1M39.4 TS1M3
Windows 7 Professional 32 bit9.4 TS1M39.4 TS1M3
Windows 7 Home Premium x649.4 TS1M39.4 TS1M3
Windows 7 Home Premium 32 bit9.4 TS1M39.4 TS1M3
Windows 7 Enterprise x649.4 TS1M39.4 TS1M3
Windows 7 Enterprise 32 bit9.4 TS1M39.4 TS1M3
Microsoft Windows Server 2012 Std9.4 TS1M39.4 TS1M3
Microsoft Windows Server 2012 R2 Std9.4 TS1M39.4 TS1M3
Microsoft Windows Server 2012 R2 Datacenter9.4 TS1M39.4 TS1M3
Microsoft Windows Server 2012 Datacenter9.4 TS1M39.4 TS1M3
Microsoft Windows Server 2008 for x649.4 TS1M39.4 TS1M3
Microsoft Windows Server 2008 R29.4 TS1M39.4 TS1M3
Microsoft Windows Server 20089.4 TS1M39.4 TS1M3
Microsoft Windows 8.1 Pro 32-bit9.4 TS1M39.4 TS1M3
Microsoft Windows 8.1 Pro9.4 TS1M39.4 TS1M3
Microsoft Windows 8.1 Enterprise x649.4 TS1M39.4 TS1M3
Microsoft Windows 8.1 Enterprise 32-bit9.4 TS1M39.4 TS1M3
Microsoft Windows 8 Pro x649.4 TS1M39.4 TS1M3
Microsoft Windows 8 Pro 32-bit9.4 TS1M39.4 TS1M3
Microsoft Windows 8 Enterprise x649.4 TS1M39.4 TS1M3
Microsoft Windows 8 Enterprise 32-bit9.4 TS1M39.4 TS1M3
Solaris for x649.4 TS1M39.4 TS1M3
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.